home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / ISSUE08 / DATADICT / ABOUT.PAS < prev    next >
Encoding:
Pascal/Delphi Source File  |  1996-02-15  |  949 b   |  47 lines

  1. unit About;
  2.  
  3. interface
  4.  
  5. uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls,
  6.   Buttons, ExtCtrls;
  7.  
  8. type
  9.   TAboutBox = class(TForm)
  10.     Panel1: TPanel;
  11.     OKButton: TBitBtn;
  12.     ProgramIcon: TImage;
  13.     ProductName: TLabel;
  14.     Version: TLabel;
  15.     Copyright: TLabel;
  16.     AddressMemo: TMemo;
  17.     CommentMemo: TMemo;
  18.     procedure FormCreate(Sender: TObject);
  19.     procedure OKButtonClick(Sender: TObject);
  20.   private
  21.     { Private declarations }
  22.   public
  23.     { Public declarations }
  24.   end;
  25.  
  26. var
  27.   AboutBox: TAboutBox;
  28.  
  29. implementation
  30. {$R *.DFM}
  31. procedure TAboutBox.FormCreate(Sender: TObject);
  32. begin
  33.   ProductName.caption := 'Data Dictionary Maker';
  34.   Version.caption := 'Version 0.22';
  35.   Copyright.caption := 'Copyright 1996, Brandon C. Smith';
  36.   CommentMemo.text := 'Concept Demonstration version';
  37.  
  38. end;
  39.  
  40. procedure TAboutBox.OKButtonClick(Sender: TObject);
  41. begin
  42.   close;
  43. end;
  44.  
  45. end.
  46.  
  47.